//
//  RecycleCollectionViewCell.m
//  BaseFrame
//
//  Created by ENERGY on 2018/5/3.
//  Copyright © 2018年 com.mxh. All rights reserved.
//

#import "RecycleCollectionViewCell.h"

@interface RecycleCollectionViewCell()
@property (nonatomic, strong)UIImageView * imgView;
@end

@implementation RecycleCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:self.imgView];
//        __weak typeof (self)weakSelf = self;
        [self.imgView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.top.bottom.right.mas_equalTo(0);
        }];
        
    }return self;
}

- (UIImageView *)imgView{
    if (!_imgView) {
        _imgView = [[UIImageView alloc] init];
        _imgView.backgroundColor = [UIColor orangeColor];
    }return _imgView;
}
@end
